treeview: if we are below rows that changed height: redraw
authorKristian Rietveld <kris@gtk.org>
Tue, 5 Apr 2011 19:09:10 +0000 (21:09 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 16 Apr 2011 23:14:51 +0000 (01:14 +0200)
commit4d5d915afe89429dd78b81c3806be027fc61eab1
tree19f457248f310eb43c4a7c9532c0f9f7b3ab36d0
parent4594370b4619e431e7d96f9bb2eba234a34abf6d
treeview: if we are below rows that changed height: redraw

We have to redraw if we are below a couple of rows that changed height
in do_validate_rows().  This will still require a redraw for a large
amount of cases, can we do better?  You would expect that a redraw of
the tree view is not required when the dy changes with the same delta
as the delta of the height accrued when validating the nodes.  This
further optimization will likely require changes to the top_row/dy
synchronization code.
gtk/gtktreeview.c